package org.example.demo.SQL.Models;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "APIUser", description = "用户信息")
public class APIUser {
    @Schema(description = "用户ID")
    private int id;

    @Schema(description = "用户名")
    private String username;
    @Schema(description = "密码")
    private String password;

    @Override
    public String toString() {
        return "APIUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
